package com.ruoyi.charge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收费对象 charge_charge
 *
 * @author ruoyi
 * @date 2022-11-15
 */
public class ChargeCharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收费的id */
    private Long chargeId;

    /** 收费编号 */
    @Excel(name = "收费编号")
    private String chargeNumber;

    /** 挂号id（外键） */
    @Excel(name = "挂号id", readConverterExp = "外=键")
    private Long chargeRegisterId;

    /** 根据挂号id查出病例，再查出所有收费的总额 */
    @Excel(name = "根据挂号id查出病例，再查出所有收费的总额")
    private Long chargeSum;

    /** 支付类型（支付宝，微信，现金） */
    @Excel(name = "支付类型", readConverterExp = "支=付宝，微信，现金")
    private String chargeType;

    /** 订单状态（0未支付,1已支付） */
    @Excel(name = "订单状态", readConverterExp = "0=未支付,1已支付")
    private String chargeStatus;






    public void setChargeId(Long chargeId)
    {
        this.chargeId = chargeId;
    }

    public Long getChargeId()
    {
        return chargeId;
    }
    public void setChargeNumber(String chargeNumber)
    {
        this.chargeNumber = chargeNumber;
    }

    public String getChargeNumber()
    {
        return chargeNumber;
    }
    public void setChargeRegisterId(Long chargeRegisterId)
    {
        this.chargeRegisterId = chargeRegisterId;
    }

    public Long getChargeRegisterId()
    {
        return chargeRegisterId;
    }
    public void setChargeSum(Long chargeSum)
    {
        this.chargeSum = chargeSum;
    }

    public Long getChargeSum()
    {
        return chargeSum;
    }
    public void setChargeType(String chargeType)
    {
        this.chargeType = chargeType;
    }

    public String getChargeType()
    {
        return chargeType;
    }
    public void setChargeStatus(String chargeStatus)
    {
        this.chargeStatus = chargeStatus;
    }

    @Override
    public String toString() {
        return "ChargeCharge{" +
                "chargeId=" + chargeId +
                ", chargeNumber='" + chargeNumber + '\'' +
                ", chargeRegisterId=" + chargeRegisterId +
                ", chargeSum=" + chargeSum +
                ", chargeType='" + chargeType + '\'' +
                ", chargeStatus='" + chargeStatus + '\'' +

                '}';
    }

    public String getChargeStatus()
    {
        return chargeStatus;
    }

}
